home *** CD-ROM | disk | FTP | other *** search
- COS(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- CCOOSS, DDCCOOSS, QQCCOOSS, CCCCOOSS, CCDDCCOOSS, CCQQCCOOSS, CCOOSSDD, DDCCOOSSDD, QQCCOOSSDD - Computes
- cosine
-
- SSYYNNOOPPSSIISS
- CCOOSS (([XX==]_x))
- DDCCOOSS (([XX==]_x))
- QQCCOOSS (([XX==]_x))
- CCCCOOSS (([XX==]_x))
- CCDDCCOOSS (([XX==]_x))
- CCQQCCOOSS (([XX==]_x))
-
- CCOOSSDD (([XX==]_x))
- DDCCOOSSDD (([XX==]_x))
- QQCCOOSSDD (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk and IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: QQCCOOSS, CCDDCCOOSS, CCQQCCOOSS, CCOOSSDD, DDCCOOSSDD, QQCCOOSSDD
-
- DDEESSCCRRIIPPTTIIOONN
- These functions evaluate _y = cos(_x).
-
- CCOOSS and CCOOSSDD are the generic function names; the others are specifics.
- These are elemental intrinsic functions. They accept the following
- argument:
-
- _x Must be of type real. For CCOOSS, DDCCOOSS, QQCCOOSS, CCCCOOSS, CCDDCCOOSS, and
- CCQQCCOOSS, the argument must be in radians. It is treated as
- (modulo 2 * pi). For CCOOSSDD, DDCCOOSSDD, and QQCCOOSSDD, the argument
- must be in degrees and is treated as modulo 360.
-
- See the RETURN VALUES section for more information on input
- data types and return values.
-
- Vector versions of these intrinsics exist on some systems. Vector
- versions of the CCOOSS, DDCCOOSS, CCCCOOSS, and CCDDCCOOSS intrinsic functions exist
- on UNICOS and UNICOS/mk systems. On UNICOS/mk systems, the vector
- versions of these intrinsics are used when --OO vveeccttoorr33 or --OO33 are
- specified on the compiler command line. A vector version of the
- single-precision and double-precision CCOOSS intrinsic exists on IRIX
- systems and is used when --OO33 is specified on the compiler command
- line.
-
- NNOOTTEESS
- The CCOOSS, DDCCOOSS, CCCCOOSS intrinsic function names can be passed as
- arguments; the others cannot.
-
- On UNICOS and UNICOS/mk systems, the following return values occur:
-
- * On systems that support the IEEE standard for floating-point
- arithmetic, 25
- CCOOSS((_x)) = NaN if |_x| > 2
-
- * On systems that do not support the IEEE standard for floating-point
- arithmetic, 25
- CCOOSS((_x)) = 0 if |_x| > 2
-
- On IRIX systems, the following return value occurs:
- 19
- CCOOSS((_x)) = NaN if |_x| > pi * 2
-
- On all systems that support the IEEE standard for floating-point
- arithmetic, the following is true:
-
- CCOOSS((_x)) = NaN if _x = NaN
-
- RREETTUURRNN VVAALLUUEESS
- CCOOSS and CCOOSSDD return the single-precision cosine of their
- single-precision arguments.
-
- DDCCOOSS and DDCCOOSSDD return the double-precision cosine of their
- double-precision arguments.
-
- QQCCOOSS and QQCCOOSSDD return the quad-precision cosine of their
- quad-precision arguments.
-
- CCCCOOSS returns the complex cosine of its complex argument.
-
- CCDDCCOOSS returns the complex double-precision cosine of its complex
- double-precision argument.
-
- CCQQCCOOSS returns the complex quad-precision cosine of its complex
- quad-precision argument.
-
- The data type and kind type for single-precision, double-precision,
- and quad-precision values differ depending on your platform. For
- platform-specific information, see the TERMINOLOGY section of the
- IINNTTRROO__IINNTTRRIINN(3I) man page.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-